25338dfc89c2eb4da6dbf09fa0c550189eab7e9c,sonar-core/src/test/java/org/sonar/core/source/HtmlSourceDecoratorTest.java,HtmlSourceDecoratorTest,should_decorate_source_with_multiple_decoration_strategies,#,77

Before Change


  @Test
  public void should_decorate_source_with_multiple_decoration_strategies() throws Exception {

    HtmlSourceDecorator sourceDecorator = new HtmlSourceDecorator(getMyBatis());

    List<String> decoratedSource = (List<String>) sourceDecorator.getDecoratedSourceAsHtml(13L);

    assertThat(decoratedSource).containsExactly(
      "<span class=\"cppd\">/*</span>",

After Change



  @Test
  public void decorate_source_with_multiple_decoration_strategies() throws Exception {
    List<String> decoratedSource = sourceDecorator.getDecoratedSourceAsHtml(13L);

    assertThat(decoratedSource).containsExactly(
      "<span class=\"cppd\">/*</span>",